// template.js
module.exports = {
    vueTemplate: compoenntName => {
        return `<template>
    <div class="${compoenntName}">
        <van-button type="primary" @click="test">${compoenntName}</van-button>
    </div>
</template>
<script>
    //import api from '@/api/news.js'

    export default {
        name: '${compoenntName}',
        components: {},
        props:{},
        data() {
            return {}
        },
        methods: {
            test() {
                this.tips.toast('hello word')
            }
        },
        mounted() {
        }
    };
</script>
<style lang="scss" scoped>
    .${compoenntName} {
    }
</style>`
    }
}


